﻿namespace SimpleCodeGen
{
    /// <summary>
    /// customeColumn
    /// </summary>
    public class CustomColumn
    {
        /// <summary>
        /// Gets or sets the name of the column.
        /// </summary>
        /// <value>
        /// The name of the column.
        /// </value>
        public string ColumnName { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this instance is key.
        /// </summary>
        /// <value>
        ///   <c>true</c> if this instance is key; otherwise, <c>false</c>.
        /// </value>
        public bool IsKey { get; set; }

        /// <summary>
        /// Gets or sets the type of the data.
        /// </summary>
        /// <value>
        /// The type of the data.
        /// </value>
        public string DataType { get; set; }

        /// <summary>
        /// Gets or sets the allow DB null.
        /// </summary>
        /// <value>
        /// The allow DB null.
        /// </value>
        public string AllowDBNull { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this instance is identity.
        /// </summary>
        /// <value>
        /// 	<c>true</c> if this instance is identity; otherwise, <c>false</c>.
        /// </value>
        public bool IsIdentity { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this instance is row version.
        /// </summary>
        /// <value>
        /// 	<c>true</c> if this instance is row version; otherwise, <c>false</c>.
        /// </value>
        public bool IsRowVersion { get; set; }
    }
}